package com.jdk21.core.config;

import org.springframework.web.bind.annotation.ControllerAdvice;

@ControllerAdvice
public class ControllerHandler {

//    @InitBinder
//    public void initBinder(WebDataBinder binder) {
//        binder.registerCustomEditor(Date.class, new PropertyEditorSupport() {
//            @Override
//            public void setAsText(String text) throws IllegalArgumentException {
//                setValue(JodaTimeUtil.parseDate(text));
//            }
//        });
//
//    }
}
